package com.xinyou.u8c.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;

/**
 * <p>
 *
 * </p>
 *
 * @author chq
 * @since 2023-09-15
 */
@Getter
@Setter
@ApiModel(value = "Bfadminorganizationzjb对象", description = "")
public class Bfadminorganizationzjb implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String abbreviationChs;

    private String abbreviationCht;

    private String abbreviationEn;

    private String abbreviationEs;

    private String abbreviationPt;

    private String attachment;

    private String code;

    private String departmenthead;

    private String departmentheadname;

    private String fullpathnameChs;

    private String fullpathnameCht;

    private String fullpathnameEn;

    private String fullpathnameEs;

    private String fullpathnamePt;

    private String incharge;

    private String industry;

    private String masterorgid;

    private String nameChs;

    private String nameCht;

    private String nameEn;

    private String nameEs;

    private String namePt;

    @Value("33c21504-3384-42a7-8fc3-c1b5e9e982d0")
    private String orgtype;

    private String ownerid;

    private String pnthrinfoIsdetail;

    private String pnthrinfoLayer;

    private String pnthrinfoParentelement;

    private String pnthrinfoSequence;

    private String remark;

    private String representative;

    private String sortorder;

    private String stateAsyncdeletestatus;

    private String stateDisabletime;

    @Value("1")
    private String stateIsenabled;

    private String timestampCreatedby;

    private String timestampCreatedon;

    private String timestampLastchangedby;

    private String timestampLastchangedon;

    private String treeinfoIsdetail;

    private String treeinfoLayer;

    private String treeinfoPath;

    private String securityadmin;

    private String sysadmin;

    @Value("BFPUBLIC")
    private String securitylevel;

    public List<String> getHeader() {
        return new ArrayList<>(Arrays.asList("ID;ABBREVIATION_CHS;ABBREVIATION_CHT;ABBREVIATION_EN;ABBREVIATION_ES;ABBREVIATION_PT;ATTACHMENT;CODE;DEPARTMENTHEAD;DEPARTMENTHEADNAME;FULLPATHNAME_CHS;FULLPATHNAME_CHT;FULLPATHNAME_EN;FULLPATHNAME_ES;FULLPATHNAME_PT;INCHARGE;INDUSTRY;MASTERORGID;NAME_CHS;NAME_CHT;NAME_EN;NAME_ES;NAME_PT;ORGTYPE;OWNERID;PNTHRINFO_ISDETAIL;PNTHRINFO_LAYER;PNTHRINFO_PARENTELEMENT;PNTHRINFO_SEQUENCE;REMARK;REPRESENTATIVE;SORTORDER;STATE_ASYNCDELETESTATUS;STATE_DISABLETIME;STATE_ISENABLED;TIMESTAMP_CREATEDBY;TIMESTAMP_CREATEDON;TIMESTAMP_LASTCHANGEDBY;TIMESTAMP_LASTCHANGEDON;TREEINFO_ISDETAIL;TREEINFO_LAYER;TREEINFO_PATH;SECURITYADMIN;SYSADMIN;SECURITYLEVEL".split(";")));
    }

    public String[] getFields() {
        return new String[]{"id","abbreviationChs","abbreviationCht","abbreviationEn","abbreviationEs","abbreviationPt","attachment","code","departmenthead","departmentheadname","fullpathnameChs","fullpathnameCht","fullpathnameEn","fullpathnameEs","fullpathnamePt","incharge","industry","masterorgid","nameChs","nameCht","nameEn","nameEs","namePt","orgtype","ownerid","pnthrinfoIsdetail","pnthrinfoLayer","pnthrinfoParentelement","pnthrinfoSequence","remark","representative","sortorder","stateAsyncdeletestatus","stateDisabletime","stateIsenabled","timestampCreatedby","timestampCreatedon","timestampLastchangedby","timestampLastchangedon","treeinfoIsdetail","treeinfoLayer","treeinfoPath","securityadmin","sysadmin","securitylevel"};
    }

}
